package com.zw.goods.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.zw.object.goods.GoodInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zw.object.result.Result;
import com.zw.object.vo.GoodInfoTotalVo;
import com.zw.object.vo.GoodInfoVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

/**
 * <p>
 * 物资信息表 服务类
 * </p>
 *
 * @author zw
 * @since 2023-03-15
 */
public interface GoodInfoService extends IService<GoodInfo> {

    Result goodInfoAll();

    Result goodInfoTotal(GoodInfoTotalVo vo);

    Result list(GoodInfoVo vo);

    Result save(MultipartFile file, String json, HttpServletRequest request) throws IOException;

    Result update(MultipartFile file, String json) throws IOException;

    Result delete(Long[] ids);
}
